package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.Map;

public interface RoleSettingService {

    public PageResult findPage(QueryPageBean queryPageBean);

    public Map findAll();

    public void add(Role role, Integer[] permissions, Integer[] menus);

    public void edit(Role role, Integer[] permissions, Integer[] menus);

    public Map editecho(int id);

    public void delete(int id);
}